package cloudgamesaumysql

import (
	"gorm.io/gorm"
	"time"
)

/*
  @author liubogeng
  @date   2024/12/27 18:24
*/

// CGGameAUBatchUserSwitchBlacklistRecord 批处理黑名单记录表
type CGGameAUBatchUserSwitchBlacklistRecord struct {
	ID             int64          `json:"id" gorm:"column:id;type:bigint;primaryKey;autoIncrement;comment:ID"`
	BatchRefundID  string         `json:"batch_refund_id" gorm:"column:batch_refund_id;type:varchar(256);default:'';not null;comment:批处理退款ID"`
	RefundOperator string         `json:"refund_operator" gorm:"column:refund_operator;type:varchar(128);default:'';not null;comment:退款操作人"`
	CreatedAt      time.Time      `json:"created_at" gorm:"column:created_at;type:datetime;comment:该条记录创建时间"`
	UpdatedAt      time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime;comment:该条记录修改时间"`
	DeletedAt      gorm.DeletedAt `json:"-" gorm:"index;type:datetime;comment:该条记录删除时间"`
}

func (CGGameAUBatchUserSwitchBlacklistRecord) TableName() string {
	return "cg_game_au_batch_user_switch_blacklist_record"
}
